﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.Traceability.Write.API.Applicantion.Command.EnterCommand
{
    public class UpdateCommand:IRequest<APIResult<int>>
    {
        public int EnterId { get; set; }
        /// <summary>
        /// 生产批次号
        /// </summary>
        public string ProductionCode { get; set; }
        /// <summary>
        /// 养殖场地址
        /// </summary>
        public string? FarmAddr { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? PersonName { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int? EnterNum { get; set; }
        /// <summary>
        /// 相关资质
        /// </summary>
        public string? Qualifications { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string? EnterName { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? CreateEnterTime { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? EnterAddress { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? EnterRemark { get; set; }
        /// <summary>
        /// 企业图片
        /// </summary>
        public string? EnterPhones { get; set; }
    }
}
